From: Alexander Mikhaylenko Date: Sat, 9 May 2020 14:26:37 +0000 (+0500) Subject: appDisplay: Lower scroll timeout X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~403 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6895592a7becd7f3f76fd10da599944b8bda2407;p=gnome-shell.git appDisplay: Lower scroll timeout Looks like 250ms is too high, lower it to 150ms. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2602 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 8848817a0..5c44401dd 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -35,6 +35,7 @@ var VIEWS_SWITCH_TIME = 400; var VIEWS_SWITCH_ANIMATION_DELAY = 100; var PAGE_SWITCH_TIME = 250; +var SCROLL_TIMEOUT_TIME = 150; var APP_ICON_SCALE_IN_TIME = 500; var APP_ICON_SCALE_IN_DELAY = 700; @@ -658,7 +659,7 @@ var AllView = GObject.registerClass({ this._canScroll = false; this._scrollTimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, - PAGE_SWITCH_TIME, () => { + SCROLL_TIMEOUT_TIME, () => { this._canScroll = true; this._scrollTimeoutId = 0; return GLib.SOURCE_REMOVE;